package com.wangijun.yuan.admin.blog.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 分类 保存参数
 * </p>
 *
 * @author Wlf
 * @since 2024-08-26
 */
@Getter
@Setter
@Schema(name = "Category", description = "分类")
public class CategorySaveParam {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "分类名称")
    private String name;

    @Schema(description = "图标名称，支持fontawesomev6和material-icons两个图标库")
    private String iconName;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "创建人")
    private Long createBy;

    @Schema(description = "更新人")
    private Long updateBy;

    @Schema(description = "阅读量")
    private Integer readNum;

    @Schema(description = "排序")
    private Integer sort;
}
